package com.fh.alipay.service;

import com.fh.alipay.po.Merchant;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fh.alipay.model.dto.MerchantDTO;
import com.fh.alipay.model.query.MerchantQuery;
import java.util.List;
/**
 * @author fh
 * @date 2022-05-02
 * @description  服务类
 */
public interface IMerchantService extends IService<Merchant> {

        IPage<Merchant> getWithPage(Page page, MerchantQuery query);

        Merchant getOneByQuery(MerchantQuery query);

        List<Merchant> getAllByQuery( MerchantQuery query);

}
